//月子中心
import request from "@/utils/request"

//获取列表或查询
export function getYueziList (params) {
  return request({
    url: "/admin/postpartum/list",
    method: "get",
    params
  })
}

//新增
export function addYueziList (data) {
  return request({
    url: "/admin/postpartum/add",
    method: "post",
    data
  })
}
//编辑资料
export function updataInfo (data) {
  return request({
    url: "admin/postpartum/edit",
    method: "post",
    data
  })
}

//获取月子中心详情
export function getDetails (params) {
  return request({
    url: "admin/postpartum/detail",
    method: "get",
    params
  })
}
//获取电视列表
export function getTVList (params) {
  return request({
    url: "admin/postpartum/tvList",
    method: "get",
    params
  })
}
